package com.kongmou.springDataJpaAdvanced;

import com.kongmou.springDataJpaAdvanced.dao.BaseRepositoryFactoryBean;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
@EnableJpaRepositories(repositoryFactoryBeanClass = BaseRepositoryFactoryBean.class)
public class SpringDataJpaAdvancedApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringDataJpaAdvancedApplication.class, args);
	}
}
